package gui;

import javax.swing.ImageIcon;

import files.FileManager;

public enum BackgroundType {

		GRASS("grass"),
		STONE("stone"),
		GRASSTONE_LB("grasstone_LB"),
		GRASSTONE_ILB("grasstone_ILB"),
		GRASSTONE_RB("grasstone_RB"),
		GRASSTONE_IRB("grasstone_IRB"),
		GRASSTONE_LT("grasstone_LT"),
		GRASSTONE_ILT("grasstone_ILT"),
		GRASSTONE_RT("grasstone_RT"),
		GRASSTONE_IRT("grasstone_IRT"),
		GRASSTONE_B("grasstone_B"),
		GRASSTONE_T("grasstone_T"),
		GRASSTONE_L("grasstone_L"),
		GRASSTONE_R("grasstone_R");
		
		private String texture;
		private ImageIcon img;
		
		BackgroundType(String texture){
			this.texture = texture;
			this.img = FileManager.getImage(texture);
		}
		
		public ImageIcon getTexture(){
			return img;
		}

}
